package com.ruoyi.jimu.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

@Data
@TableName(value = "t_jimu_report_type")
public class JmReportType extends BaseEntity {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 标题
     */
    @Excel(name = "标题")
    private String title;

    /**
     * 父级id
     */
    @Excel(name = "父级id")
    private Long parentId;


    /**
     * 显示顺序
     */
    @Excel(name = "显示顺序")
    private Integer orderNum;


    @Excel(name = "父级标题")
    @TableField(exist = false)
    private String parentTitle;
}
